/*
 * @Author: xiaosihan
 * @Date: 2025-11-02 10:00:00
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-11-02 10:00:00
 */
import Api from './Api';

class FabricApi extends Api {
    constructor() {
        super();
    }

    // 发送fabric JSON数据和宽高参数到服务端并获取效果图
    fabric_generate_image(data: any) {
        return this._post("generate_fabric_image", data);
    }
}

const fabricApi = new FabricApi();

export default fabricApi;
